reverting changes that depend on other code which i'm going to
authorTim Janik <timj@src.gnome.org>
Sun, 14 Jun 1998 15:02:05 +0000 (15:02 +0000)
committerTim Janik <timj@src.gnome.org>
Sun, 14 Jun 1998 15:02:05 +0000 (15:02 +0000)
commit later this night (so gtk at least compiles for people).

gtk/gtktypeutils.c

index 458489442d1b40f2f2a0c190f039d0ed283991a2..30a0d0d6519635a3155c5bea56d71f1778c3b85e 100644 (file)
@@ -562,17 +562,6 @@ gtk_type_class_init (GtkTypeNode *node)
          object_class->signals = NULL;
          object_class->nsignals = 0;
          object_class->n_args = 0;
-         
-         if (gtk_type_is_a (node->type, GTK_TYPE_CONTAINER))
-           {
-             GtkContainerClass *container_class;
-
-             container_class = (GtkContainerClass*) object_class;
-             
-             g_assert (node->type_info.class_size >= sizeof (GtkContainerClass));
-             
-             container_class->n_args = 0;
-           }
        }
       
       /* class_init_func is used as data pointer for